INCLUDES=-I$(top_srcdir)/src/include/sparsehash -I$(top_srcdir)/src/include/sparsehash/linux \
-I$(top_srcdir)/src/include/logging

# The libraries libglog depends on.
COMMON_LIBS = $(PTHREAD_LIBS) $(GFLAGS_LIBS) $(UNWIND_LIBS)

bindir=`pwd`/../../bin/tools
nobase_bin_PROGRAMS=N50Calculator PairedFastaMerger ReferenceComparer \
	Fastq2Fasta CreateDot
#MemoryEstimator_SOURCES=../FastaReader.h ../FastaReader.cpp ../Global.h \
#../Global.cpp ../Kmer.h ../Kmer.cpp \
#../KmerSet.h ../KmerSet.cpp MemoryEstimator.h \
#MemoryEstimator.cpp
#MemoryEstimator_LDADD=$(top_srcdir)/src/include/logging/libglog.la $(COMMON_LIBS)
#MemoryEstimator_LDFLAGS = -static -D_GNU_SOURCE $(PTHREAD_CFLAGS)
#MemoryEstimator_CXXFLAGS = $(PTHREAD_CFLAGS)
N50Calculator_SOURCES=N50Calculator.cpp
N50Calculator_LDFLAGS=-D_GNU_SOURCE
PairedFastaMerger_SOURCES=PairedFastaMerger.cpp
PairedFastaMerger_LDFLAGS=-D_GNU_SOURCE
ReferenceComparer_SOURCES=ReferenceComparer.cpp
ReferenceComparer_LDFLAGS=-D_GNU_SOURCE
Fastq2Fasta_SOURCES=Fastq2Fasta.cpp
Fastq2Fasta_LDFLAGS=-D_GNU_SOURCE
CreateDot_SOURCES=createDot.cpp
CreateDot_LDFLAGS=-D_GNU_SOURCE
DEFS+=-D_GNU_SOURCE
